#include "FireDisc.h"

FireDisc::FireDisc() {

}

// Called just before this Command runs the first time
void FireDisc::Initialize() {

}

// Called repeatedly when this Command is scheduled to run
void FireDisc::Execute() {
	if (breach->isBreachUp) {
		return;
	}
	shooter->Pulse();
}

// Make this return true when this Command no longer needs to run execute()
bool FireDisc::IsFinished() {
	//	return IsTimedOut();
	//	return true;
	return true;
}

// Called once after isFinished returns true
void FireDisc::End() {
	//	if(IsOn){
	//		
	//		CommandBase::shooter->SetFlipperMode(CommandBase::shooter->kOff);
	//		printf("Flipped out.\n");
	//	} else{
	//		CommandBase::shooter->SetFlipperMode(CommandBase::shooter->kOn);		
	//		printf("Flipped in.\n");
	//	}
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void FireDisc::Interrupted() {
}
